using System;
using System.Data;
using System.Collections;
using istIUniDB;

namespace Shraga.BLL
{
	/// <summary>
	/// Summary description for Exame.
	/// </summary>
	public class Exame
	{
		#region Data Members
		private int		m_Id;
		private string	m_ExameName;
		#endregion

		public Exame(string ExameName, int Exame_Id)
		{
			m_ExameName = ExameName;
			m_Id = Exame_Id;
		}


		public void AddAvailableColumn(ref Hashtable Columns)
		{
			String sThisExame = "Exame" + Id.ToString();
			DataColumn dcExame = new DataColumn(sThisExame);
			dcExame.Caption = Name;
			dcExame.ExtendedProperties.Add("edit", true);
			Columns.Add(sThisExame, dcExame);
		}

		#region properties
		public int		Id		{ get { return m_Id; } }
		public string	Name	{ get { return m_ExameName; } }
		#endregion
	}
}



